package com.toman.ui.serve;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.toman.R;
import com.githang.statusbar.StatusBarCompat;
import com.umeng.analytics.MobclickAgent;

/**
 * A simple {@link Fragment} subclass.
 */
public class ServeFragment extends Fragment {


    public ServeFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        return inflater.inflate(R.layout.fragment_serve, container, false);

    }
    @Override
    public void onResume() {
        super.onResume();
        StatusBarCompat.setStatusBarColor(getActivity(), getResources().getColor(R.color.white), true);
        MobclickAgent.onPageStart("服务页"); //统计页面，"MainScreen"为页面名称，可自定义

    }
    public void onPause() {
        super.onPause();
        MobclickAgent.onPageEnd("服务页");
    }
}
